#ifndef GUI_CHECKBOX_H
#define GUI_CHECKBOX_H

#include "GUIElement.h"
#include "../UniversalIncludes.h"
#include "../DrawHelper.h"

class GUICheckbox : public GUIElement
{
    // Fields
    public:
    private:
        bool isChecked;
    // Methods
    public:
        GUICheckbox();
        virtual ~GUICheckbox(){};
        void draw();
        void setChecked(bool newState);
        bool getChecked();
    protected:
        void onReleased();
        void onReleased(Uint8 mouseState);              // Released overload
};

#endif
